<div class="panel dux-box">
		<div class="table-tools clearfix ">
	        <div class="float-left">
	        	<form method="post" action="{U()}">
	                <div class="form-inline">
		                <div class="form-group">
	                        <div class="field">
	                            <select class="input" name="position_id">
	                              <option value="0">选择推荐位</option>
	                               <!--loop{$positionList as $vo}-->
	                               <option value="{$vo.position_id}" 
	                               <!--if{$pageMaps['position_id'] == $vo['position_id']}-->
	                               selected="selected"
	                               <!--{/if}-->
	                               >{$vo.name}</option>
	                               <!--{/loop}-->
	                            </select>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <div class="field">
	                            <input type="text" class="input" id="keyword" name="keyword" size="20" value="{$pageMaps.keyword}" placeholder="关键词">
	                        </div>
	                    </div>
	                    <div class="form-button">
	                        <button class="button" type="submit">搜索</button>
	                    </div>
	                </div>
	            </form>
	        </div>
	        <div class="float-right">
	       </div>
	    </div>
        <div class="table-responsive">
            <table id="table" class="table table-hover ">
                <tbody>
                    <tr>
                        <th width="100">编号</th>
                        <th width="*">标题</th>
                        <th width="*">路径</th>
                        <th width="*">位置</th>
                        <th width="*">状态</th>
                        <th width="100">操作</th>
                    </tr>
                    <!--loop{$list as $vo}-->
                    <tr>
                        <td>{$vo.id}</td>
                        <td><a href="{$vo.url}" target="_blank">{$vo.title}</a></td>
                        <td><a href="{$vo.image}" target="_blank">{$vo.image}</a></td>
                        <td>{$vo.position}</td>
                        <td>{$vo.status}</td>
                        <td>
                            <a class="button bg-blue button-small icon-pencil" href="{U('DuxCms/AdminAd/edit',array('id'=>$vo['id']))}" title="修改"></a>
                            <a class="button bg-red button-small icon-trash-o js-del" href="javascript:;" url="{U('DuxCms/AdminAd/del')}" data="{$vo.id}" title="删除"></a>
                        </td>
                    </tr>
                    <!--{/loop}-->
                </tbody>
            </table>
        </div>
</div>
<script>
    Do.ready('base', function () {
       $('#table').duxTable({});
    });
</script>